package com.cq.hd.order.api;

import com.cq.hd.common.response.Result;
import com.cq.hd.order.api.vo.MonthSettleBillVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "hd-o2o-order-service", contextId = "month-settle-bill-withdrawal-api")
public interface TbMonthSettleBillWithdrawalApi {

    @GetMapping("/order/monthSettleBillWithdrawal/listByWithdrawalId")
    Result<List<MonthSettleBillVo>> listByWithdrawalId(@RequestParam("withdrawalId") Long withdrawalId);

}
